
package model;

public class CourseSubject {
    private Course course;
    private Subject subject;
    private int year;
    private int hour;

    public CourseSubject(Course course, Subject subject, int year, int hour) {
        this.course = course;
        this.subject = subject;
        this.year = year;
        this.hour = hour;
    }

    public CourseSubject() {
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    public Subject getSubject() {
        return subject;
    }

    public void setSubject(Subject subject) {
        this.subject = subject;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getHour() {
        return hour;
    }

    public void setHour(int hour) {
        this.hour = hour;
    }
    
}
